package js.web.center.core.config;
/**
 * 环境配置文件
 * @author dowell
 *
 */
public class JsWebConfig {
	/**编码类型**/
	public final static String DEFAULT_CHAR_CODE="UTF-8";
	/**调用方法名称**/
	public final static String HANDLER="handler";
	/**默认分割符**/
	public final static String CHECK_STATIC_SIGN=".";
	/**js文件标识**/
	public final static String CHECK_JS_TYPE=".js";
	/**html文件头**/
	public final static String HTML_CONTENT_TYPE="text/html;charset=utf-8";
	/**默认路径符**/
	public final static String BASE_SIGN="/";
	/**找不到资源**/
	public final static String REEOR_404="404";
	public final static String SELF="self";
	public final static String PARENT="parent";
	public final static String WEB="web/";
	public final static String WEB_SOCKET="web/socket";
	public final static String LIBS_BASE="libs/base";
	/**默认半小时session过期**/
	public static long webSessionOutTime=1000*60*30;
	/** 服务器web端口**/
	public static int port=6999;
	/**服务器webSocket端口**/
	public static int webSocket=6998;
	/**sesssion线程更新时间**/
	public static long getSessionUpdateTime=10000;
	/**共享线程池**/
	public static int poolSize=500;
	/**线程空闲时间**/
	public static int poolIdle=10;
	/**找不到网页跳转界面**/
	public static String lostErrorUrl="";
	/**默认网页**/
	public static String defaultPage="";
	/**初始化session储存长度**/
	public static int maxSessionNum=10;
	/**websocket访问路径**/
	public static String webSocketPath="/websocket";
	/**模板路径**/
	public static String templatePath="template/";
	/**js传递方法名称**/
	public static String servletFunName="f";
	/**session保存名称**/
	public static String httpSessionId="JSESSIONID";
	/**转发servlte名称**/
	public static String jsServletName="/jsweb";
	/**静态web目录**/
	public static String jsWebStaticName="script/statics/";
	/**是否开启异步控制1开启，0关闭**/
	public static int openSyn=1;
	/**程序基础路径**/
	public static String rootPath="";
	/**控制台用户名**/
	public static String adminName="";
	/**控制台密码**/
	public static String adminPwd="";
	/**http绑定地址**/
	public static String httpBindIp="0.0.0.0";
	/**socket绑定地址**/
	public static String socketBindIp="0.0.0.0";
	/**websocket绑定地址**/
	public static String webSocketBindIp="0.0.0.0";
	/**socket端口器**/
	public static int socketPort=6997;
	/**是否开启http服务器**/
	public static int httpServerOpen=1;
	/**是否开启websocket服务器**/
	public static int websocketOpen=1;
	/**是否开启socket服务器**/
	public static int socketOpen=1;
	/**缓存长度**/
	public static int socketBufLength=1024;
//	/**数据包长度**/
//	public static int socketMaxLength=1024*512;
}
